28 July 2024
Files can be in one of four states:
Files can be in one of four states:
Files can be in one of four states:
Files can be in one of four states:
This is a once off action (per machine)
Or within R (via the usethis package)
OR via the gert package
Create a file (text, code etc)
Otherwise, create any kind of file (in the folder we just created)
Stage the changes (add)
For example:
Examples
.RData all files ending in .RData.pdf all files ending in .pdfdata/ the entire folder called data[main (root-commit) a1a873c] Initial commit
1 file changed, 3 insertions(+)
create mode 100644 analysis.R
../resources/git-tikz --git-dir ~/tmp/Test_repo/.git --filename 10_pres_git_Test_repo1.tex
ls -la
#mv 10_pres_git_Test_repo1.pdf resources/10_pres_git_Test_repo1.pdftotal 9512
drwxr-xr-x 6 runner docker 4096 Jul 28 04:13 .
drwxr-xr-x 9 runner docker 4096 Jul 28 04:12 ..
-rw-r--r-- 1 runner docker 9539405 Jul 28 04:12 01_introduction.html
-rw-r--r-- 1 runner docker 8475 Jul 27 22:17 01_introduction.qmd
drwxr-xr-x 3 runner docker 4096 Jul 28 04:12 01_introduction_cache
-rw-r--r-- 1 runner docker 52787 Jul 28 04:12 10_pres_git.qmd
-rw-r--r-- 1 runner docker 52916 Jul 28 04:12 10_pres_git.rmarkdown
-rw-r--r-- 1 runner docker 2835 Jul 28 04:13 10_pres_git_Test_repo1.log
-rw-r--r-- 1 runner docker 1435 Jul 28 04:13 10_pres_git_Test_repo1.tex
drwxr-xr-x 3 runner docker 4096 Jul 28 04:12 10_pres_git_cache
drwxr-xr-x 3 runner docker 4096 Jul 28 04:13 10_pres_git_files
-rw-r--r-- 1 runner docker 1396 Jul 27 04:36 Makefile
-rw-r--r-- 1 runner docker 660 Jul 28 04:13 git-draw.dot
-rw-r--r-- 1 runner docker 203 Jul 27 22:17 pres-style.css
drwxr-xr-x 2 runner docker 4096 Jul 28 04:13 resources
-rw-r--r-- 1 runner docker 33657 Jul 28 04:13 tikz2da01b343437.log